.class public Lkairo/android/a/b;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field protected b:Lkairo/android/i/e;

.field protected c:Z

.field protected d:Z

.field protected e:Z

.field protected f:Z

.field protected g:Lkairo/android/a/a;

.field protected h:Lkairo/android/a/a;

.field protected i:Ljava/lang/Thread;

.field protected j:Lkairo/android/a/a;

.field protected k:Z

.field protected l:Z

.field protected m:Z

.field protected n:I

.field protected o:J

.field protected p:I

.field protected q:Z


# direct methods
.method protected constructor <init>()V
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lkairo/android/i/e;

    invoke-direct {v0}, Lkairo/android/i/e;-><init>()V

    iput-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iput-boolean v1, p0, Lkairo/android/a/b;->c:Z

    iput-boolean v2, p0, Lkairo/android/a/b;->d:Z

    iput-boolean v1, p0, Lkairo/android/a/b;->e:Z

    iput-boolean v2, p0, Lkairo/android/a/b;->f:Z

    return-void
.end method

.method private b(Lkairo/android/ui/o;)V
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p1, v0, v0}, Lkairo/android/ui/o;->a(II)V

    invoke-virtual {p1}, Lkairo/android/ui/o;->c()V

    :try_start_0
    iget-object v0, p0, Lkairo/android/a/b;->h:Lkairo/android/a/a;

    invoke-virtual {v0, p1}, Lkairo/android/a/a;->a(Lkairo/android/ui/o;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public static e(Lkairo/android/a/a;)Z
    .locals 2

    iget v0, p0, Lkairo/android/a/a;->aH:I

    const/4 v1, 0x4

    if-eq v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method


# virtual methods
.method public final a(Lkairo/android/a/a;)I
    .locals 1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, p1}, Lkairo/android/i/e;->c(Ljava/lang/Object;)I

    move-result v0

    return v0
.end method

.method public final a(I)Lkairo/android/a/a;
    .locals 1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, p1

    check-cast v0, Lkairo/android/a/a;

    return-object v0
.end method

.method public final a(Lkairo/android/ui/o;)V
    .locals 5

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    :try_start_0
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/a/a;

    iget-boolean v3, p0, Lkairo/android/a/b;->d:Z

    if-nez v3, :cond_0

    iget-object v3, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v3, v3, Lkairo/android/i/e;->b:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    add-int/lit8 v3, v3, -0x1

    if-ne v1, v3, :cond_2

    :cond_0
    :try_start_1
    iput-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    iget v3, v0, Lkairo/android/a/a;->aH:I

    if-eqz v3, :cond_1

    iget v3, v0, Lkairo/android/a/a;->aH:I

    const/4 v4, 0x4

    if-eq v3, v4, :cond_1

    invoke-virtual {v0, p1}, Lkairo/android/a/a;->a(Lkairo/android/ui/o;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :cond_1
    const/4 v0, 0x0

    :try_start_2
    iput-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :catchall_0
    move-exception v0

    const/4 v1, 0x0

    iput-object v1, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    throw v0
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    :catch_0
    move-exception v0

    :cond_3
    iput-boolean v2, p0, Lkairo/android/a/b;->d:Z

    return-void
.end method

.method public final a(Lkairo/android/a/a;Lkairo/android/a/a;)Z
    .locals 6

    const/4 v5, 0x4

    const/4 v4, 0x0

    const/4 v3, 0x1

    const/4 v1, -0x1

    iget-boolean v0, p0, Lkairo/android/a/b;->l:Z

    if-eqz v0, :cond_0

    :goto_0
    return v3

    :cond_0
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, p2}, Lkairo/android/i/e;->c(Ljava/lang/Object;)I

    move-result v2

    if-eq v2, v1, :cond_1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, v2}, Lkairo/android/i/e;->a(I)V

    :cond_1
    if-eqz p1, :cond_6

    iget v0, p1, Lkairo/android/a/a;->aH:I

    if-eqz v0, :cond_6

    iget v0, p1, Lkairo/android/a/a;->aH:I

    if-eq v0, v5, :cond_6

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, p1}, Lkairo/android/i/e;->c(Ljava/lang/Object;)I

    move-result v0

    :goto_1
    if-ne v2, v1, :cond_2

    iput v4, p2, Lkairo/android/a/a;->aH:I

    :cond_2
    if-eq v0, v1, :cond_5

    iget-object v1, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {v1, p2, v0}, Lkairo/android/i/e;->a(Ljava/lang/Object;I)V

    :goto_2
    iput-boolean v3, p0, Lkairo/android/a/b;->d:Z

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-eq v0, v3, :cond_3

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v4

    check-cast v0, Lkairo/android/a/a;

    iget v0, v0, Lkairo/android/a/a;->aH:I

    if-ne v0, v5, :cond_4

    :cond_3
    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v0

    const-string v1, ""

    const-string v2, ""

    invoke-virtual {v0, v1, v2}, Lkairo/android/ui/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_4
    invoke-virtual {p0}, Lkairo/android/a/b;->k()Lkairo/android/a/a;

    move-result-object v0

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v1

    iget-object v2, v0, Lkairo/android/a/a;->aF:Ljava/lang/String;

    iget-object v0, v0, Lkairo/android/a/a;->aG:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Lkairo/android/ui/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    iput-object p0, p2, Lkairo/android/a/a;->aI:Lkairo/android/a/b;

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, p2}, Lkairo/android/i/e;->a(Ljava/lang/Object;)V

    goto :goto_2

    :cond_6
    move v0, v1

    goto :goto_1
.end method

.method public b()V
    .locals 2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lkairo/android/a/b;->c:Z

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v0

    invoke-virtual {v0}, Lkairo/android/ui/a;->p()Lkairo/android/h/e;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Lkairo/android/h/e;->c()V

    :cond_0
    invoke-virtual {v0}, Lkairo/android/ui/a;->l()V

    return-void
.end method

.method public final b(Lkairo/android/a/a;)Z
    .locals 6

    const/4 v5, 0x1

    const/4 v4, -0x1

    iget-boolean v0, p0, Lkairo/android/a/b;->l:Z

    if-eqz v0, :cond_0

    :goto_0
    return v5

    :cond_0
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, p1}, Lkairo/android/i/e;->c(Ljava/lang/Object;)I

    move-result v2

    if-eq v2, v4, :cond_1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, v2}, Lkairo/android/i/e;->a(I)V

    :cond_1
    const/4 v0, 0x0

    move v1, v0

    :goto_1
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-ge v1, v0, :cond_2

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/a/a;

    const/4 v3, 0x4

    iput v3, v0, Lkairo/android/a/a;->aH:I

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_2
    if-ne v2, v4, :cond_3

    const/4 v0, 0x0

    invoke-virtual {p0, v0, p1}, Lkairo/android/a/b;->a(Lkairo/android/a/a;Lkairo/android/a/a;)Z

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, p1}, Lkairo/android/i/e;->a(Ljava/lang/Object;)V

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v0

    iget-object v1, p1, Lkairo/android/a/a;->aF:Ljava/lang/String;

    iget-object v2, p1, Lkairo/android/a/a;->aG:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lkairo/android/ui/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method

.method protected c()V
    .locals 0

    return-void
.end method

.method public final c(Lkairo/android/a/a;)Z
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, v0, p1}, Lkairo/android/a/b;->a(Lkairo/android/a/a;Lkairo/android/a/a;)Z

    move-result v0

    return v0
.end method

.method protected d()V
    .locals 2

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v0

    iget-boolean v1, p0, Lkairo/android/a/b;->f:Z

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Lkairo/android/ui/a;->g()V

    :cond_0
    const/4 v1, 0x1

    iput-boolean v1, p0, Lkairo/android/a/b;->f:Z

    invoke-static {}, Lkairo/android/ui/a;->n()V

    invoke-virtual {v0}, Lkairo/android/ui/a;->j()V

    return-void
.end method

.method public final d(Lkairo/android/a/a;)Z
    .locals 6

    const/4 v5, 0x4

    const/4 v4, 0x1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return v4

    :cond_1
    if-nez p1, :cond_3

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/a/a;

    :goto_1
    iput v5, v0, Lkairo/android/a/a;->aH:I

    iput-boolean v4, p0, Lkairo/android/a/b;->d:Z

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-le v0, v4, :cond_0

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v2

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_2
    if-ltz v1, :cond_0

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/a/a;

    iget v3, v0, Lkairo/android/a/a;->aH:I

    if-eq v3, v5, :cond_2

    iget-object v1, v0, Lkairo/android/a/a;->aF:Ljava/lang/String;

    iget-object v3, v0, Lkairo/android/a/a;->aG:Ljava/lang/String;

    invoke-virtual {v2, v1, v3}, Lkairo/android/ui/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget v1, v0, Lkairo/android/a/a;->aH:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_0

    iput v4, v0, Lkairo/android/a/a;->aH:I

    goto :goto_0

    :cond_2
    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_2

    :cond_3
    move-object v0, p1

    goto :goto_1
.end method

.method public final g()Z
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lkairo/android/a/b;->d(Lkairo/android/a/a;)Z

    move-result v0

    return v0
.end method

.method public final h()Z
    .locals 14

    const/4 v13, 0x4

    const/4 v12, 0x2

    const/4 v8, 0x0

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v4

    invoke-static {}, Lkairo/android/ui/IApplication;->a()Lkairo/android/ui/IApplication;

    move-result-object v5

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-nez v0, :cond_0

    move v2, v3

    :goto_0
    return v2

    :cond_0
    invoke-virtual {v5}, Lkairo/android/ui/IApplication;->i()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->b()V

    move v2, v3

    goto :goto_0

    :cond_1
    invoke-static {}, Lkairo/android/ui/z;->a()Lkairo/android/ui/z;

    move-result-object v1

    const-string v0, "keyguard"

    invoke-virtual {v5, v0}, Lkairo/android/ui/IApplication;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/KeyguardManager;

    invoke-virtual {v0}, Landroid/app/KeyguardManager;->inKeyguardRestrictedInputMode()Z

    move-result v0

    if-nez v0, :cond_2

    invoke-virtual {v5}, Lkairo/android/ui/IApplication;->j()Z

    move-result v0

    if-nez v0, :cond_3

    :cond_2
    invoke-virtual {v1}, Lkairo/android/ui/z;->d()V

    const/16 v0, 0x64

    invoke-static {v0}, Lkairo/android/ui/IApplication;->b(I)V

    move v2, v3

    goto :goto_0

    :cond_3
    invoke-virtual {v5}, Lkairo/android/ui/IApplication;->hasWindowFocus()Z

    move-result v0

    if-nez v0, :cond_4

    const/16 v0, 0x64

    invoke-static {v0}, Lkairo/android/ui/IApplication;->b(I)V

    move v2, v3

    goto :goto_0

    :cond_4
    invoke-virtual {v1}, Lkairo/android/ui/z;->c()V

    invoke-virtual {v4}, Lkairo/android/ui/a;->p()Lkairo/android/h/e;

    move-result-object v6

    iget-boolean v0, p0, Lkairo/android/a/b;->c:Z

    if-eqz v0, :cond_5

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/a/a;

    :try_start_0
    iput-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lkairo/android/a/b;->c:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    goto :goto_0

    :catchall_0
    move-exception v0

    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    throw v0

    :cond_5
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_1
    if-ltz v1, :cond_a

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/a/a;

    iget v7, v0, Lkairo/android/a/a;->aH:I

    if-ne v7, v13, :cond_9

    :try_start_1
    iput-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    invoke-virtual {v0}, Lkairo/android/a/a;->c()Z

    iget v0, v0, Lkairo/android/a/a;->aH:I

    if-ne v0, v13, :cond_6

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0, v1}, Lkairo/android/i/e;->a(I)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    :cond_6
    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    if-eqz v6, :cond_8

    invoke-virtual {v6}, Lkairo/android/h/e;->a()Ljava/util/Vector;

    move-result-object v3

    move v1, v2

    :goto_2
    invoke-virtual {v3}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_8

    invoke-virtual {v3, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->e()Z

    move-result v5

    if-eqz v5, :cond_7

    invoke-virtual {v0}, Lkairo/android/h/a;->a()V

    :cond_7
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :catchall_1
    move-exception v0

    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    throw v0

    :cond_8
    invoke-virtual {v4}, Lkairo/android/ui/a;->l()V

    goto/16 :goto_0

    :cond_9
    add-int/lit8 v0, v1, -0x1

    move v1, v0

    goto :goto_1

    :cond_a
    move v1, v2

    :goto_3
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-ge v1, v0, :cond_f

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/a/a;

    iget v7, v0, Lkairo/android/a/a;->aH:I

    if-nez v7, :cond_e

    invoke-virtual {v5, v2}, Lkairo/android/ui/IApplication;->a(Z)V

    :try_start_2
    iput-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    invoke-virtual {v0}, Lkairo/android/a/a;->a()Z

    iget v1, v0, Lkairo/android/a/a;->aH:I

    if-nez v1, :cond_b

    const/4 v1, 0x1

    iput v1, v0, Lkairo/android/a/a;->aH:I
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_2

    :cond_b
    invoke-virtual {v5, v3}, Lkairo/android/ui/IApplication;->a(Z)V

    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    if-eqz v6, :cond_d

    invoke-virtual {v6}, Lkairo/android/h/e;->a()Ljava/util/Vector;

    move-result-object v3

    move v1, v2

    :goto_4
    invoke-virtual {v3}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_d

    invoke-virtual {v3, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/h/a;

    invoke-virtual {v0}, Lkairo/android/h/a;->e()Z

    move-result v5

    if-eqz v5, :cond_c

    invoke-virtual {v0}, Lkairo/android/h/a;->a()V

    :cond_c
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_4

    :catchall_2
    move-exception v0

    invoke-virtual {v5, v3}, Lkairo/android/ui/IApplication;->a(Z)V

    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    throw v0

    :cond_d
    invoke-virtual {v4}, Lkairo/android/ui/a;->l()V

    goto/16 :goto_0

    :cond_e
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_3

    :cond_f
    iget-object v0, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    if-eqz v0, :cond_11

    iget-object v0, p0, Lkairo/android/a/b;->i:Ljava/lang/Thread;

    if-nez v0, :cond_10

    iget-object v0, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    if-eqz v0, :cond_10

    :try_start_3
    iget-object v0, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    invoke-virtual {v0}, Lkairo/android/a/a;->c()Z
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2

    :cond_10
    :goto_5
    iput-object v8, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    iget-object v0, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    if-eqz v0, :cond_11

    :try_start_4
    iget-object v0, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    invoke-virtual {v0}, Lkairo/android/a/a;->a()Z
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1

    :cond_11
    :goto_6
    invoke-virtual {v5}, Lkairo/android/ui/IApplication;->i()Z

    move-result v0

    if-eqz v0, :cond_12

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->b()V

    move v2, v3

    goto/16 :goto_0

    :cond_12
    iget-boolean v0, p0, Lkairo/android/a/b;->k:Z

    if-eqz v0, :cond_13

    new-instance v0, Lkairo/android/ui/g;

    const/4 v1, 0x3

    const-string v7, "\u786e\u8ba4"

    invoke-direct {v0, v1, v7}, Lkairo/android/ui/g;-><init>(ILjava/lang/String;)V

    const-string v1, "\u7ed3\u675f\u6e38\u620f"

    invoke-virtual {v0, v1}, Lkairo/android/ui/g;->a(Ljava/lang/String;)V

    invoke-virtual {v0}, Lkairo/android/ui/g;->a()I

    move-result v0

    iput-boolean v2, p0, Lkairo/android/a/b;->k:Z

    if-ne v0, v13, :cond_13

    iput-boolean v3, p0, Lkairo/android/a/b;->l:Z

    invoke-virtual {p0}, Lkairo/android/a/b;->l()Z

    move v2, v3

    goto/16 :goto_0

    :cond_13
    if-eqz v6, :cond_14

    invoke-virtual {v6}, Lkairo/android/h/e;->e()V

    :cond_14
    if-eqz v6, :cond_15

    invoke-virtual {v6}, Lkairo/android/h/e;->d()V

    :cond_15
    if-eqz v6, :cond_16

    invoke-virtual {v6}, Lkairo/android/h/e;->e()V

    :cond_16
    iget-boolean v0, p0, Lkairo/android/a/b;->m:Z

    if-nez v0, :cond_1a

    move v1, v2

    :goto_7
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    add-int/lit8 v0, v0, -0x1

    if-ge v1, v0, :cond_17

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/a/a;

    iput v2, v0, Lkairo/android/a/a;->aJ:I

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_7

    :cond_17
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/a/a;

    iget v1, v0, Lkairo/android/a/a;->aH:I

    if-ne v1, v3, :cond_18

    invoke-virtual {p0}, Lkairo/android/a/b;->c()V

    iput v12, v0, Lkairo/android/a/a;->aH:I

    :cond_18
    iget v1, v0, Lkairo/android/a/a;->aH:I

    if-ne v1, v12, :cond_1a

    :try_start_5
    iput-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    invoke-virtual {v0}, Lkairo/android/a/a;->b()Z

    move-result v1

    if-eqz v1, :cond_19

    iget v1, v0, Lkairo/android/a/a;->aH:I

    if-ne v1, v12, :cond_19

    const/4 v1, 0x3

    iput v1, v0, Lkairo/android/a/a;->aH:I
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_3

    :cond_19
    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    iget v1, v0, Lkairo/android/a/a;->aJ:I

    add-int/lit8 v1, v1, 0x1

    iput v1, v0, Lkairo/android/a/a;->aJ:I

    goto/16 :goto_0

    :catchall_3
    move-exception v0

    iput-object v8, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    throw v0

    :cond_1a
    invoke-virtual {p0}, Lkairo/android/a/b;->d()V

    if-eqz v6, :cond_1b

    invoke-virtual {v6}, Lkairo/android/h/e;->e()V

    :cond_1b
    if-eqz v6, :cond_1c

    invoke-virtual {v6}, Lkairo/android/h/e;->c()V

    :cond_1c
    iget-boolean v0, p0, Lkairo/android/a/b;->e:Z

    if-nez v0, :cond_27

    if-eqz v6, :cond_1d

    invoke-virtual {v6}, Lkairo/android/h/e;->b()V

    :cond_1d
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-virtual {v4}, Lkairo/android/ui/a;->b()Lkairo/android/ui/o;

    move-result-object v7

    if-eqz v7, :cond_27

    iget-boolean v8, p0, Lkairo/android/a/b;->q:Z

    if-eqz v8, :cond_1e

    iput-boolean v3, p0, Lkairo/android/a/b;->d:Z

    iput-boolean v2, p0, Lkairo/android/a/b;->q:Z

    :cond_1e
    if-eqz v6, :cond_1f

    invoke-virtual {v6, v7}, Lkairo/android/h/e;->a(Lkairo/android/ui/o;)V

    :cond_1f
    if-eqz v6, :cond_20

    invoke-virtual {v6, v7}, Lkairo/android/h/e;->c(Lkairo/android/ui/o;)V

    :cond_20
    iget-object v8, p0, Lkairo/android/a/b;->h:Lkairo/android/a/a;

    if-eqz v8, :cond_21

    invoke-direct {p0, v7}, Lkairo/android/a/b;->b(Lkairo/android/ui/o;)V

    :cond_21
    if-eqz v6, :cond_22

    invoke-virtual {v6, v7}, Lkairo/android/h/e;->b(Lkairo/android/ui/o;)V

    :cond_22
    if-eqz v6, :cond_23

    invoke-virtual {v6, v7}, Lkairo/android/h/e;->d(Lkairo/android/ui/o;)V

    :cond_23
    invoke-virtual {v4}, Lkairo/android/ui/a;->d()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v7

    sub-long v9, v7, v0

    const-wide/16 v0, 0x64

    cmp-long v0, v9, v0

    if-gez v0, :cond_24

    iput v2, p0, Lkairo/android/a/b;->p:I

    :cond_24
    const-wide/16 v0, 0xfa0

    iget v11, p0, Lkairo/android/a/b;->p:I

    if-lt v11, v12, :cond_25

    const-wide/32 v0, 0xea60

    :cond_25
    iget-wide v11, p0, Lkairo/android/a/b;->o:J

    sub-long v11, v7, v11

    cmp-long v0, v11, v0

    if-lez v0, :cond_27

    const-wide/16 v0, 0x64

    cmp-long v0, v9, v0

    if-ltz v0, :cond_26

    iget v0, p0, Lkairo/android/a/b;->n:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lkairo/android/a/b;->n:I

    const/4 v1, 0x3

    if-lt v0, v1, :cond_27

    const/4 v0, 0x0

    :try_start_6
    invoke-virtual {v4, v0}, Lkairo/android/ui/a;->setDrawingCacheEnabled(Z)V

    const/4 v0, 0x1

    invoke-virtual {v4, v0}, Lkairo/android/ui/a;->setDrawingCacheEnabled(Z)V

    invoke-virtual {v4}, Lkairo/android/ui/a;->buildDrawingCache()V

    invoke-virtual {v4}, Lkairo/android/ui/a;->destroyDrawingCache()V

    const/4 v0, 0x0

    invoke-virtual {v4, v0}, Lkairo/android/ui/a;->setDrawingCacheEnabled(Z)V

    invoke-static {}, Ljava/lang/System;->gc()V

    const-wide/16 v0, 0x32

    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V

    invoke-static {}, Ljava/lang/Thread;->yield()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_0

    :goto_8
    iput-wide v7, p0, Lkairo/android/a/b;->o:J

    iget v0, p0, Lkairo/android/a/b;->p:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lkairo/android/a/b;->p:I

    :cond_26
    iput v2, p0, Lkairo/android/a/b;->n:I

    :cond_27
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/a/a;

    iget v1, v0, Lkairo/android/a/a;->aH:I

    if-eqz v1, :cond_28

    iget v1, v0, Lkairo/android/a/a;->aH:I

    if-eq v1, v13, :cond_28

    iput v3, v0, Lkairo/android/a/a;->aH:I

    :cond_28
    iput-boolean v2, p0, Lkairo/android/a/b;->e:Z

    invoke-virtual {v5}, Lkairo/android/ui/IApplication;->i()Z

    move-result v0

    if-eqz v0, :cond_29

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->b()V

    :cond_29
    if-eqz v6, :cond_2a

    invoke-virtual {v6}, Lkairo/android/h/e;->e()V

    :cond_2a
    move v2, v3

    goto/16 :goto_0

    :catch_0
    move-exception v0

    goto :goto_8

    :catch_1
    move-exception v0

    goto/16 :goto_6

    :catch_2
    move-exception v0

    goto/16 :goto_5
.end method

.method public final i()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lkairo/android/a/b;->d:Z

    return-void
.end method

.method public final j()I
    .locals 1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    return v0
.end method

.method public final k()Lkairo/android/a/a;
    .locals 1

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    invoke-virtual {v0}, Lkairo/android/i/e;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkairo/android/a/a;

    goto :goto_0
.end method

.method public final l()Z
    .locals 3

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget v0, v0, Lkairo/android/i/e;->b:I

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lkairo/android/a/b;->b:Lkairo/android/i/e;

    iget-object v0, v0, Lkairo/android/i/e;->c:[Ljava/lang/Object;

    aget-object v0, v0, v1

    check-cast v0, Lkairo/android/a/a;

    const/4 v2, 0x4

    iput v2, v0, Lkairo/android/a/a;->aH:I

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    return v0
.end method

.method public final m()Lkairo/android/a/a;
    .locals 1

    iget-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lkairo/android/a/b;->k()Lkairo/android/a/a;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lkairo/android/a/b;->j:Lkairo/android/a/a;

    goto :goto_0
.end method

.method public final n()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lkairo/android/a/b;->k:Z

    return-void
.end method

.method public final o()Z
    .locals 1

    iget-boolean v0, p0, Lkairo/android/a/b;->k:Z

    return v0
.end method

.method public final p()Z
    .locals 1

    iget-boolean v0, p0, Lkairo/android/a/b;->m:Z

    return v0
.end method

.method public final q()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lkairo/android/a/b;->q:Z

    return-void
.end method

.method public run()V
    .locals 4

    iget-object v0, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    :goto_0
    iget-object v1, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    if-eqz v1, :cond_1

    :try_start_0
    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v1

    invoke-virtual {v1}, Lkairo/android/ui/a;->b()Lkairo/android/ui/o;

    move-result-object v2

    iget-object v3, p0, Lkairo/android/a/b;->g:Lkairo/android/a/a;

    invoke-virtual {v3, v2}, Lkairo/android/a/a;->a(Lkairo/android/ui/o;)V

    iget-object v3, p0, Lkairo/android/a/b;->h:Lkairo/android/a/a;

    if-eqz v3, :cond_0

    invoke-direct {p0, v2}, Lkairo/android/a/b;->b(Lkairo/android/ui/o;)V

    :cond_0
    invoke-virtual {v1}, Lkairo/android/ui/a;->d()V

    const-wide/16 v1, 0x32

    invoke-static {v1, v2}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_0

    :cond_1
    if-eqz v0, :cond_2

    :try_start_1
    invoke-virtual {v0}, Lkairo/android/a/a;->c()Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :cond_2
    :goto_1
    const/4 v0, 0x0

    iput-object v0, p0, Lkairo/android/a/b;->i:Ljava/lang/Thread;

    return-void

    :catch_1
    move-exception v0

    goto :goto_1
.end method
